package cn.xzp.C2103;

public class EvenGenerator extends IntGenerator{
	private int currentEventValue=0;
	public int next(){
		++currentEventValue;
		Thread.yield();
		++currentEventValue;
		return currentEventValue;
	}
	public static void main(String[] args) {
		EvenChecker.test(new EvenGenerator());
	}
}
